package com.wn.class30.service;

import com.wn.class30.entity.Cupon;

import java.util.List;
import java.util.Map;

public interface Couponservice {

    long count(Map<String, String> map);

    List<Cupon> selectCoupons(Map<String, String> map);

    int insertSelective(Cupon record);

    int deleteByPrimaryKey(Integer cuponId);

    int updateByPrimaryKeySelective(Cupon record);

    Cupon selectCuponById(Integer cuponId)throws Exception;

}
